﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Devotit.Umbraco.MvcBridge.Web
{

    class OverrideHttpMethodHttpRequestWrapper : HttpRequestWrapper
    {
        private string _method = "GET";
        public OverrideHttpMethodHttpRequestWrapper(HttpRequest httpRequest, string method) : base(httpRequest) { _method = method; }

        public override string HttpMethod
        {
            get { return _method; }
        }
    }

}